﻿using System;

/// 
/// Contains SPF enumerations
/// 

namespace InterPC.SPF {

    /// <summary>
    /// Possible SPF check results
    /// </summary>
    public enum SPFResult {
        Neutral = 0,
        Pass = 1,
        SoftFail = 2,
        Fail = 3,
        PermError,
        TempError,
        None
    }

    /// <summary>
    /// all possible SPF term types
    /// </summary>
    public enum SPFTermType {
        Mechanism,
        Modifier
    }

    /// <summary>
    /// all possible modifier types
    /// </summary>
    public enum SPFModifierType {
        Redirect,
        Exp,
        Unknown
    }

    /// <summary>
    /// all possible mechanism types
    /// </summary>
    public enum SPFMechanismType {
        All,
        Include,
        A,
        MX,
        PTR,
        IP4,
        IP6,
        Exists
    }

    /// <summary>
    /// all possible mechanism qualifier types
    /// </summary>
    public enum SPFMechanismQualifier {
        Neutral = 0,
        Pass = 1,
        SoftFail = 2,
        Fail = 3
    }

}
